package com.shop.cereshop.admin.dao.buyer;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.cereshop.commons.domain.buyer.UserStopSpeeck;
import org.apache.ibatis.annotations.Param;
import org.apache.xmlbeans.impl.xb.xmlconfig.Extensionconfig;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface UserStopSpeeckDAO extends BaseMapper<UserStopSpeeck> {
    UserStopSpeeck selectByUserId (Long userId);

     Integer updateStatusPrivate(@Param("userId") List<Long> userId);

     Integer updateStatusGroup(@Param("userId") List<Long> userId);

     Integer updateState(@Param("userStopSpeeck") UserStopSpeeck userStopSpeeck);


      Integer updatePrivateChatTime(@Param("userId") Long userId);

      Integer updateGroupChatTime(@Param("userId") Long userId);
}
